import request from '@/utils/request'

// 获取首页左上角
export const getHouseOverview = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/houseOverview',
    params: params,
  })
}

// 获取首页左中部位
export const getHouseSecurity = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/housingSecurity',
    params: params,
  })
}

// 获取首页左下角

export const getHouseRent = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/housingRenta',
    params: params,
  })
}

// 获取首页中间
export const getHouseDeal = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/housingDeal',
    params: params,
  })
}

// 获取首页右上
export const getHouseSafe = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/housingSafe',
    params: params,
  })
}

// 大屏右中：房屋物业管理
export const getPropertyManage = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/queryPropertyManage',
    params: params,
  })
}

// 获取首页右下：城市更新
export const getCityUpdate = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseOverview/query/queryCityUpdate',
    params: params,
  })
}

